﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <Style x:Key="emptyFav5ContactIDStyle" BasedOn="{x:Null}" TargetType="{x:Type Label}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Label}">
                    <Label 
                        x:Name="lblEmptySlot"
                        Content="phone number or sip uri" 
                        MinWidth="125" Width="125" Height="Auto" 
                        Padding="2"
                        Margin="0,0,0,0"
                        FontFamily="Calibri" 
                        FontStyle="Italic"
                        Foreground="Gray" 
                        Background="#6FFFFFFF"  />
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsFocused" Value="True" SourceName="lblEmptySlot">
                            <Setter TargetName="lblEmptySlot" Property="Content" Value="{x:Null}" />
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="false" />
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="emptyFav5DisplayNameStyle" BasedOn="{x:Null}" TargetType="{x:Type Label}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Label}">
                    <Label 
                        x:Name="lblEmptySlot"
                        Content="display name" 
                        MinWidth="125" Width="125" Height="Auto" 
                        Padding="2"
                        Margin="0,0,0,0"
                        FontFamily="Calibri" 
                        FontStyle="Italic"
                        Foreground="Gray"
                        Background="#6FFFFFFF"  />
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsFocused" Value="True" SourceName="lblEmptySlot">
                            <Setter TargetName="lblEmptySlot" Property="Content" Value="{x:Null}" />
                        </Trigger>
                        <Trigger Property="IsEnabled" Value="false" />
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

</ResourceDictionary>